﻿using EasyAdmin.Domain.Entities.Systems;
using EasyCore.ObjectMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyAdmin.Application.Contracts.Systems.Roles.Dtos
{
    [MapFrom(typeof(SysRole))]
    [MapTo(typeof(SysRole))]
    public class RoleOutput
    {
        /// <summary>
        /// 唯标标识
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 角色名称
        ///</summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 角色编码
        ///</summary>
        public string RoleCode { get; set; }

        /// <summary>
        /// 排序码
        ///</summary>
        public int OrderSort { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsDisabled { get; set; }
    }
}
